package com.wtwd.device.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wtwd.device.model.entity.AppManagement;
import com.wtwd.device.model.vo.AppNameVo;
import com.wtwd.device.model.vo.RespEntity;
import com.wtwd.device.model.vo.ResultVO;

import java.util.List;

/**
 * @author mjy
 * @date 2021/11/08
 * @description
 */
public interface AppManagementService {
    IPage<AppManagement> getPagingAppManagementList(Page<Object> page);

    AppManagement getAppManagementByName(String appName);

    Integer addApp(AppManagement appManagement);

    RespEntity updateApp(AppManagement appManagement);

    RespEntity deleteAppById(long id);

    ResultVO<List<AppNameVo>> getAllAppName();
    
}
